package com.finance.cooperate.dao.entity.primary;

import com.finance.cooperate.dao.support.pojo.BaseAutomaticSimpleVO;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName App
 * @Description 用户最新app列表
 * @Author shen
 * @Date 2023/8/6 16:03
 * @Modify ...
 */
@Entity
@Table(name = "p_current_app")
@Data
public class App extends BaseAutomaticSimpleVO {

    private static final long serialVersionUID = 7433860863721191474L;

    // ID
    @Id
    @Column(name = "id")
    private Long id;

    // 应用名称
    @Column(name = "app_name")
    private String appName;

    // 应用包名
    @Column(name = "app_package_name")
    private String appPackageName;

    // 用户Id
    @Column(name = "user_id")
    private String userId;

    // 设备Id
    @Column(name = "device_id")
    private String deviceId;

    // 第一次安装时间
    @Column(name = "first_install_time")
    private String firstInstallTime;

    // 最近更新时间
    @Column(name = "last_update_time")
    private String lastUpdateTime;

    // 是否是手机系统app（0：是，1不是）
    @Column(name = "system_app")
    private Integer systemApp;


}
